package com.example.mvp.view;

import android.os.Bundle;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

public abstract class BaseActivity<T> extends AppCompatActivity implements IActivity,IView{

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        //加载布局页面
        setContentView(bindLayout());
        initData();
        initView();
        inject();
    }

    @Override
    public void showToast(String str) {

    }
}
